const level1 = [
	{
		name: "胡萝卜",
		shapes: [
			{
				id: "body",
				name: "胡萝卜主体",
				type: "path",
				d: "M50,10 C60,20 65,40 60,60 C55,70 45,70 40,60 C35,40 40,20 50,10",
				fill: "#FFFFFF",
				target: "#FFA500",
			},
			{
				id: "leaf1",
				name: "左边叶子",
				type: "path",
				d: "M47.5,12.5 C42.5,7.5 37.5,7.5 35,2.5 C40,0 45,5 47.5,12.5",
				fill: "#FFFFFF",
				target: "#228B22",
			},
			{
				id: "leaf2",
				name: "右边叶子",
				type: "path",
				d: "M52.5,12.5 C57.5,7.5 62.5,7.5 65,2.5 C60,0 55,5 52.5,12.5",
				fill: "#FFFFFF",
				target: "#228B22",
			},
			{
				id: "leaf3",
				name: "中间叶子",
				type: "path",
				d: "M50,10 C52.5,5 52.5,2.5 50,0 C47.5,2.5 47.5,5 50,10",
				fill: "#FFFFFF",
				target: "#228B22",
			},
		],
	},
	{
		name: "苹果",
		shapes: [
			{
				id: "apple",
				name: "苹果主体",
				type: "path",
				d: "M50,30 C70,30 80,50 70,70 C60,85 40,85 30,70 C20,50 30,30 50,30",
				fill: "#FFFFFF",
				target: "#FF0000",
			},
			{
				id: "stem",
				name: "苹果梗",
				type: "path",
				d: "M50,30 L50,20 C47.5,15 52.5,15 50,20",
				fill: "none",
				target: "none",
			},
			{
				id: "leaf",
				name: "苹果叶",
				type: "path",
				d: "M50,25 C55,22.5 60,17.5 57.5,15 C52.5,12.5 47.5,17.5 50,25",
				fill: "#FFFFFF",
				target: "#228B22",
			},
		],
	},
	{
		name: "香蕉",
		shapes: [
			{
				id: "banana",
				name: "香蕉",
				type: "path",
				d: "M25,60 C40,55 60,40 75,30 C80,40 70,50 65,55 C50,65 35,70 25,60 Z",
				fill: "#FFFFFF",
				target: "#FFA500",
			},
			{
				id: "shadow",
				name: "香蕉阴影",
				type: "path",
				d: "M30,57.5 C45,52.5 60,42.5 72.5,32.5 C70,42.5 60,50 55,55 C45,60 35,60 30,57.5",
				fill: "#FFFFFF",
				target: "#FFD700",
			},
		],
	},
	{
		name: "小猪",
		shapes: [
			{
				id: "head",
				name: "猪头",
				type: "path",
				d: "M30,40 C30,20 70,20 70,40 C70,60 30,60 30,40",
				fill: "#FFFFFF",
				target: "#FF69B4",
			},
			{
				id: "ear1",
				name: "左耳朵",
				type: "path",
				d: "M35,30 C30,20 35,15 40,20 C42.5,25 40,27.5 35,30",
				fill: "#FFFFFF",
				target: "#FF69B4",
			},
			{
				id: "ear2",
				name: "右耳朵",
				type: "path",
				d: "M65,30 C70,20 65,15 60,20 C57.5,25 60,27.5 65,30",
				fill: "#FFFFFF",
				target: "#FF69B4",
			},
			{
				id: "nose",
				name: "猪鼻子",
				type: "path",
				d: "M45,42.5 C45,37.5 55,37.5 55,42.5 C55,47.5 45,47.5 45,42.5",
				fill: "#FFFFFF",
				target: "#FF69B4",
			},
			{
				id: "eye1",
				name: "左眼睛",
				type: "circle",
				cx: 42.5,
				cy: 35,
				r: 2.5,
				fill: "#FFFFFF",
				target: "#000000",
			},
			{
				id: "eye2",
				name: "右眼睛",
				type: "circle",
				cx: 57.5,
				cy: 35,
				r: 2.5,
				fill: "#FFFFFF",
				target: "#000000",
			},
		],
	},
	{
		name: "小兔子",
		shapes: [
			{
				id: "body",
				name: "兔子身体",
				type: "path",
				d: "M40,60 C40,45 60,45 60,60 C60,75 40,75 40,60",
				fill: "#FFFFFF",
				target: "#FFA500",
			},
			{
				id: "head",
				name: "兔子头",
				type: "path",
				d: "M35,40 C35,25 65,25 65,40 C65,55 35,55 35,40",
				fill: "#FFFFFF",
				target: "#FFFFFF",
			},
			{
				id: "ear1",
				name: "左耳朵",
				type: "path",
				d: "M42.5,30 C40,15 47.5,10 50,20 C50,25 45,27.5 42.5,30",
				fill: "#FFFFFF",
				target: "#FF69B4",
			},
			{
				id: "ear2",
				name: "右耳朵",
				type: "path",
				d: "M57.5,30 C60,15 52.5,10 50,20 C50,25 55,27.5 57.5,30",
				fill: "#FFFFFF",
				target: "#FF69B4",
			},
			{
				id: "nose",
				name: "兔子鼻子",
				type: "circle",
				cx: 50,
				cy: 42.5,
				r: 2.5,
				fill: "#FFFFFF",
				target: "#FF69B4",
			},
			// Add new shapes for eyes, arms, and legs
			{
				id: "eye1",
				name: "左眼",
				type: "circle",
				cx: 42.5,
				cy: 37.5,
				r: 2,
				fill: "#FFFFFF",
				target: "#000000",
			},
			{
				id: "eye2",
				name: "右眼",
				type: "circle",
				cx: 57.5,
				cy: 37.5,
				r: 2,
				fill: "#FFFFFF",
				target: "#000000",
			},
			{
				id: "arm1",
				name: "左手",
				type: "path",
				d: "M40,55 L35,65",
				fill: "none",
				stroke: "#000000",
				target: "#FFFFFF",
			},
			{
				id: "arm2",
				name: "右手",
				type: "path",
				d: "M60,55 L65,65",
				fill: "none",
				stroke: "#000000",
				target: "#FFFFFF",
			},
			{
				id: "leg1",
				name: "左脚",
				type: "path",
				d: "M45,70 L42.5,85",
				fill: "none",
				stroke: "#000000",
				target: "#FFFFFF",
			},
			{
				id: "leg2",
				name: "右脚",
				type: "path",
				d: "M55,70 L57.5,85",
				fill: "none",
				stroke: "#000000",
				target: "#FFFFFF",
			},
		],
	},
	{
		name: "小轿车",
		shapes: [
			{
				id: "body",
				name: "车身",
				type: "path",
				d: "M25,50 L75,50 L75,35 L60,20 L40,20 L25,35 Z",
				fill: "#FFFFFF",
				target: "#FF0000",
			},
			{
				id: "window1",
				name: "前窗",
				type: "path",
				d: "M42.5,25 L52.5,25 L52.5,35 L42.5,35 Z",
				fill: "#FFFFFF",
				target: "#0000FF",
			},
			{
				id: "window2",
				name: "后窗",
				type: "path",
				d: "M55,25 L62.5,25 L62.5,35 L55,35 Z",
				fill: "#FFFFFF",
				target: "#0000FF",
			},
			{
				id: "wheel1",
				name: "前轮",
				type: "circle",
				cx: 35,
				cy: 50,
				r: 7,
				fill: "#FFFFFF",
				target: "#000000",
			},
			{
				id: "wheel2",
				name: "后轮",
				type: "circle",
				cx: 65,
				cy: 50,
				r: 7,
				fill: "#FFFFFF",
				target: "#000000",
			},
		],
	},
	{
		name: "大货车",
		shapes: [
			{
				id: "cabin",
				name: "驾驶室",
				type: "path",
				d: "M30,45 L45,45 L45,30 L30,30 Z",
				fill: "#FFFFFF",
				target: "#0000FF",
			},
			{
				id: "cargo",
				name: "货箱",
				type: "path",
				d: "M45,45 L75,45 L75,25 L45,25 Z",
				fill: "#FFFFFF",
				target: "#FFD700",
			},
			{
				id: "window",
				name: "车窗",
				type: "path",
				d: "M32.5,32.5 L42.5,32.5 L42.5,37.5 L32.5,37.5 Z",
				fill: "#FFFFFF",
				target: "#0000FF",
			},
			{
				id: "wheel1",
				name: "前轮",
				type: "circle",
				cx: 35,
				cy: 45,
				r: 5,
				fill: "#FFFFFF",
				target: "#000000",
			},
			{
				id: "wheel2",
				name: "中轮",
				type: "circle",
				cx: 55,
				cy: 45,
				r: 5,
				fill: "#FFFFFF",
				target: "#000000",
			},
			{
				id: "wheel3",
				name: "后轮",
				type: "circle",
				cx: 70,
				cy: 45,
				r: 5,
				fill: "#FFFFFF",
				target: "#000000",
			},
		],
	},
	{
		name: "摩托车",
		shapes: [
			{
				id: "frame",
				name: "车架",
				type: "path",
				d: "M25,50 L65,50 L58,35 L42,35 Z",
				fill: "#FFFFFF",
				target: "#8B4513",
			},
			{
				id: "handle",
				name: "车把",
				type: "path",
				d: "M58,35 C65,35 70,28 65,25",
				fill: "none",
				stroke: "#000000",
				target: "#8B4513",
			},
			{
				id: "seat",
				name: "车座",
				type: "path",
				d: "M42,35 L38,28 L46,28 Z",
				fill: "#FFFFFF",
				target: "#000000",
			},
			{
				id: "wheel1",
				name: "前轮",
				type: "circle",
				cx: 65,
				cy: 50,
				r: 10,
				fill: "#FFFFFF",
				target: "#000000",
			},
			{
				id: "wheel2",
				name: "后轮",
				type: "circle",
				cx: 25,
				cy: 50,
				r: 10,
				fill: "#FFFFFF",
				target: "#000000",
			},
			{
				id: "headlight",
				name: "车灯",
				type: "circle",
				cx: 65,
				cy: 28,
				r: 3,
				fill: "#FFFFFF",
				target: "#FFD700",
			},
		],
	},
	{
		name: "飞机",
		shapes: [
			{
				id: 'body', name: '机身', type: 'path',
				d: 'M30,40 L70,40 L75,45 L70,50 L30,50 L25,45 Z',
				fill: '#FFFFFF',
				target: '#0000FF'
			},
			{
				id: 'wing1', name: '主翼', type: 'path',
				d: 'M40,40 L30,30 L60,30 L70,40 Z',
				fill: '#FFFFFF',
				target: '#FFD700'
			},
			{
				id: 'tail', name: '尾翼', type: 'path',
				d: 'M35,50 L25,60 L40,60 L45,50 Z',
				fill: '#FFFFFF',
				target: '#FFD700'
			},
			{
				id: 'window1', name: '窗户1', type: 'circle',
				cx: 35,
				cy: 45,
				r: 2.5,
				fill: '#FFFFFF',
				target: '#0000FF'
			},
			{
				id: 'window2', name: '窗户2', type: 'circle',
				cx: 42.5,
				cy: 45,
				r: 2.5,
				fill: '#FFFFFF',
				target: '#0000FF'
			}
		]
	},
	{
		name: "机器人",
		shapes: [
			{
				id: 'head', name: '头部', type: 'path',
				d: 'M35,20 L65,20 L65,35 L35,35 Z',
				fill: '#FFFFFF',
				target: '#8B4513'
			},
			{
				id: 'body', name: '身体', type: 'path',
				d: 'M40,40 L60,40 L65,65 L35,65 Z',
				fill: '#FFFFFF',
				target: '#0000FF'
			},
			{
				id: 'eye1', name: '左眼', type: 'circle',
				cx: 42.5,
				cy: 27.5,
				r: 2.5,
				fill: '#FFFFFF',
				target: '#FFD700'
			},
			{
				id: 'eye2', name: '右眼', type: 'circle',
				cx: 57.5,
				cy: 27.5,
				r: 2.5,
				fill: '#FFFFFF',
				target: '#FFD700'
			},
			{
				id: 'antenna1', name: '左天线', type: 'path',
				d: 'M40,20 L35,12.5',
				fill: 'none',
				stroke: '#000000',
				target: '#8B4513'
			},
			{
				id: 'antenna2', name: '右天线', type: 'path',
				d: 'M60,20 L65,12.5',
				fill: 'none',
				stroke: '#000000',
				target: '#8B4513'
			},
			{
				id: 'arm1', name: '左手', type: 'path',
				d: 'M40,45 L25,50',
				fill: 'none',
				stroke: '#000000',
				target: '#0000FF'
			},
			{
				id: 'arm2', name: '右手', type: 'path',
				d: 'M60,45 L75,50',
				fill: 'none',
				stroke: '#000000',
				target: '#0000FF'
			}
		]
	},
	{
		name: "小狗",
		shapes: [
			{
				id: 'head', name: '头部', type: 'path',
				d: 'M35,35 C35,25 65,25 65,35 C65,45 35,45 35,35',
				fill: '#FFFFFF',
				target: '#8B4513'
			},
			{
				id: 'ear1', name: '左耳朵', type: 'path',
				d: 'M37.5,30 C35,20 42.5,20 45,30',
				fill: '#FFFFFF',
				target: '#8B4513'
			},
			{
				id: 'ear2', name: '右耳朵', type: 'path',
				d: 'M55,30 C57.5,20 65,20 62.5,30',
				fill: '#FFFFFF',
				target: '#8B4513'
			},
			{
				id: 'nose', name: '鼻子', type: 'circle',
				cx: 50,
				cy: 37.5,
				r: 2.5,
				fill: '#FFFFFF',
				target: '#000000'
			},
			{
				id: 'eye1', name: '左眼', type: 'circle',
				cx: 42.5,
				cy: 32.5,
				r: 1.5,
				fill: '#FFFFFF',
				target: '#000000'
			},
			{
				id: 'eye2', name: '右眼', type: 'circle',
				cx: 57.5,
				cy: 32.5,
				r: 1.5,
				fill: '#FFFFFF',
				target: '#000000'
			},
			{
				id: 'body', name: '身体', type: 'path',
				d: 'M42.5,45 L57.5,45 L60,60 L40,60 Z',
				fill: '#FFFFFF',
				target: '#8B4513'
			},
			{
				id: 'tail', name: '尾巴', type: 'path',
				d: 'M57.5,50 C65,50 70,45 67.5,42.5',
				fill: 'none',
				stroke: '#000000',
				target: '#8B4513'
			},
			{
				id: 'leg1', name: '左前腿', type: 'path',
				d: 'M42.5,60 L42.5,67.5',
				fill: 'none',
				stroke: '#000000',
				target: '#8B4513'
			},
			{
				id: 'leg2', name: '右前腿', type: 'path',
				d: 'M57.5,60 L57.5,67.5',
				fill: 'none',
				stroke: '#000000',
				target: '#8B4513'
			}
		]
	},
	{
		name: "小船",
		shapes: [
			{
				id: 'hull', name: '船身', type: 'path',
				d: 'M25,50 C35,60 65,60 75,50 L70,45 C60,52.5 40,52.5 30,45 Z',
				fill: '#FFFFFF',
				target: '#8B4513'
			},
			{
				id: 'sail1', name: '主帆', type: 'path',
				d: 'M45,45 L45,20 L60,45 Z',
				fill: '#FFFFFF',
				target: '#FFD700'
			},
			{
				id: 'sail2', name: '三角帆', type: 'path',
				d: 'M60,42.5 L60,25 L70,42.5 Z',
				fill: '#FFFFFF',
				target: '#FF0000'
			},
			{
				id: 'pole', name: '桅杆', type: 'path',
				d: 'M45,45 L45,15',
				fill: 'none',
				stroke: '#000000',
				target: '#8B4513'
			},
			{
				id: 'wave1', name: '波浪1', type: 'path',
				d: 'M15,55 Q25,50 35,55 Q45,60 55,55',
				fill: 'none',
				stroke: '#0000FF',
				target: '#0000FF'
			},
			{
				id: 'wave2', name: '波浪2', type: 'path',
				d: 'M45,57.5 Q55,52.5 65,57.5 Q75,62.5 85,57.5',
				fill: 'none',
				stroke: '#0000FF',
				target: '#0000FF'
			}
		]
	},
	{
		name: "小房子",
		shapes: [
			{
				id: 'wall', name: '房屋主体', type: 'path',
				d: 'M30,60 L70,60 L70,35 L30,35 Z',
				fill: '#FFFFFF',
				target: '#FFD700'
			},
			{
				id: 'roof', name: '屋顶', type: 'path',
				d: 'M25,35 L50,15 L75,35 Z',
				fill: '#FFFFFF',
				target: '#FF0000'
			},
			{
				id: 'door', name: '房门', type: 'path',
				d: 'M45,60 L45,45 L55,45 L55,60',
				fill: '#FFFFFF',
				target: '#8B4513'
			},
			{
				id: 'window1', name: '左窗', type: 'rect',
				x: 35,
				y: 40,
				width: 7.5,
				height: 7.5,
				fill: '#FFFFFF',
				target: '#0000FF'
			},
			{
				id: 'window2', name: '右窗', type: 'rect',
				x: 57.5,
				y: 40,
				width: 7.5,
				height: 7.5,
				fill: '#FFFFFF',
				target: '#0000FF'
			}
		]
	},
	{
		name: "大树",
		shapes: [
			{
				id: 'trunk', name: '树干', type: 'path',
				d: 'M45,60 L55,60 L55,35 L45,35 Z',
				fill: '#FFFFFF',
				target: '#8B4513'
			},
			{
				id: 'leaves1', name: '树叶1', type: 'path',
				d: 'M30,35 C30,20 70,20 70,35 C70,50 30,50 30,35',
				fill: '#FFFFFF',
				target: '#228B22'
			},
			{
				id: 'leaves2', name: '树叶2', type: 'path',
				d: 'M35,25 C35,10 65,10 65,25 C65,40 35,40 35,25',
				fill: '#FFFFFF',
				target: '#228B22'
			},
			{
				id: 'leaves3', name: '树叶3', type: 'path',
				d: 'M40,15 C40,5 60,5 60,15 C60,25 40,25 40,15',
				fill: '#FFFFFF',
				target: '#228B22'
			}
		]
	}
];
